package com.eshore.norm.pojo.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author HJ
 * @date 2024/1/16 14:31
 */
@NoArgsConstructor
@Data
public class NormAlarmPO {

    @JsonProperty("content")
    private List<ContentDTO> content;

    @NoArgsConstructor
    @Data
    public static class ContentDTO {
        @JsonProperty("id")
        private Long id;
        @JsonProperty("state")
        private Integer state;
        @JsonProperty("event_level")
        private Integer eventLevel;
        @JsonProperty("event_type")
        private Integer eventType;
        @JsonProperty("event_name")
        private String eventName;
        @JsonProperty("eventTime")
        private String eventTime;
        @JsonProperty("event_desc")
        private String eventDesc;
        @JsonProperty("event_resource_id")
        private String eventResourceId;
        @JsonProperty("event_resource_ip")
        private String eventResourceIp;
    }
}
